import request from '@/utils/request'

export function getPerson(query) {
  return request({
    url: '/sysfunction/check/getFunctionCheckUserList/',
    method: 'get',
    params: query
  })
}
export function list(query) {
  return request({
    url: '/scm/supplier/new/page',
    method: 'get',
    params: query
  })
}
export function check(data) {
  return request({
    url: '/scm/supplier/check/',
    method: 'put',
    data
  })
}
export function check1(data) {
  return request({
    url: '/scm/supplier/certificate/check/',
    method: 'put',
    data
  })
}
export function getcheck(data) {
  return request({
    url: '/sysfunction/check/getFunctionCheckUserList/',
    method: 'get',
    params: data
  })
}
export function change(data) {
  return request({
    url: '/scm/supplier/change/',
    method: 'get',
    data
  })
}
export function updateList(data) {
  return request({
    url: `/scm/on/supplier/getEditList`,
    method: 'get',
    params: data
  })
}
